|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | RTC_A_ISR (void) |
| void main | ( | void | ) |
RTC_A in Counter Mode toggles P1.0 every 1s
This program demonstrates RTC in counter mode configured to source from ACLK to toggle P1.0 LED every 1s.
MSP430F5438A
-----------------
/|\ | |
| | |
---|RST |
| |
| P1.0|-->LED
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 62 of file rtc_a_ex2_countermode.c.
References GPIO_setOutputHighOnPin().
| void RTC_A_ISR | ( | void | ) |
Definition at line 129 of file rtc_a_ex2_countermode.c.